package com.jialin.dao;

import java.util.List;

import org.hibernate.Criteria;
import org.hibernate.Query;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.jialin.entity.HouseInfo;
import com.jialin.entity.User;

public class InfoDaoImp  implements IInfoDao {

	private SessionFactory sessionFactory;

	public void setSessionFactory(SessionFactory sessionFactory) {
		this.sessionFactory = sessionFactory;
	}

	public Session getSession() {
		return sessionFactory.getCurrentSession();
	}
	
	private User user;
	private HouseInfo info;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public HouseInfo getInfo() {
		return info;
	}

	public void setInfo(HouseInfo info) {
		this.info = info;
	}

	@Override
	public void addInfo(HouseInfo info) {
	}

	@Override
	public void modifyInfo(HouseInfo info) {
	}

	@Override
	public void deleteInfo(HouseInfo info) {
	}

	@Override
	public String getInfos() {
		// TODO Auto-generated method stub
		return null;
	}

	


	
}
